[PATCH 1/2] datasets: explicitly errors on too long string
authorPhilippe Antoine <pantoine@oisf.net>
Mon, 17 Nov 2025 12:27:54 +0000 (13:27 +0100)
committerAndreas Dolp <dev@andreas-dolp.de>
Thu, 23 Apr 2026 05:14:21 +0000 (07:14 +0200)
commita7c1ab2d9122672006f0848baaaa5d88413997af
tree2822519b3e780aa625654b15acb46b92985ab944
parentb9fc8eab1c0903c215e9c59dd421a6a648fd2678
[PATCH 1/2] datasets: explicitly errors on too long string

Also avoids stack allocation

Ticket: 8110
(cherry picked from commit 0eff24213763c2aa2bb0957901d5dc1e18414dbf)

Origin: upstream, https://github.com/OISF/suricata/commit/32609e6896f9079c175665a94005417cec7637eb.patch
Bug: https://redmine.openinfosecfoundation.org/issues/8110
Subject: Upstream fix for CVE-2026-22262 part 1

Gbp-Pq: Name CVE-2026-22262_1.patch
src/datasets-string.c